<!--银行卡支付系统维护-->

<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>支付提示</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <style>
    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }
  </style>
</head>
<body class="bg-gray-100 flex items-center justify-center min-h-screen">
<!-- 维护提示弹窗 -->
<div class="fixed inset-0 z-50 flex items-center justify-center">
  <div class="absolute inset-0 bg-black bg-opacity-50 backdrop-blur-sm"></div>
  <div class="relative bg-white rounded-2xl shadow-xl w-full max-w-md mx-4 overflow-hidden animate-fade-in">
    <!-- 顶部图标区域 -->
    <div class="bg-yellow-50 p-6 flex flex-col items-center">
      <div class="w-16 h-16 bg-yellow-100 rounded-full flex items-center justify-center mb-4">
        <i class="fa fa-exclamation-triangle text-yellow-500 text-2xl"></i>
      </div>
      <h3 class="text-xl font-bold text-gray-800">支付系统维护中</h3>
    </div>

    <!-- 内容区域 -->
    <div class="p-6 text-center">
      <p class="text-gray-600 mb-6 leading-relaxed">
        当前银行卡支付系统正在进行维护升级，预计完成时间为<br>
        <span class="font-medium text-gray-800">2029年12月15日 18:00</span>。<br>
        在此期间，您可以使用微信支付完成交易。
      </p>

      <!-- 支付方式建议 -->
      <div class="bg-blue-50 rounded-lg p-4 mb-6 flex items-center justify-center">
        <i class="fa fa-weixin text-green-500 text-2xl mr-3"></i>
        <span class="text-gray-700">推荐使用微信支付</span>
      </div>
    </div>

    <!-- 底部按钮 -->
    <div class="bg-gray-50 px-6 py-4 flex justify-center">
      <button  id="keepBtn" onclick="closeModal()" class="px-8 py-3 bg-blue-500 text-white rounded-lg font-medium hover:bg-blue-600 transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">
        确定
      </button>
    </div>
  </div>
</div>

<script>

  const keepBtn = document.getElementById('keepBtn');
  keepBtn.addEventListener('click',()=>{
    window.close(0);
  });

  function closeModal() {
    // 这里可以添加关闭弹窗的逻辑
    console.log("弹窗已关闭");
    // 如果是模拟演示，可以移除弹窗
    document.querySelector('.fixed').style.display = 'none';
  }
</script>

<style>
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
  }
</style>
</body>
</html>